deploy: Drop fsync of modified config files
authorColin Walters <walters@verbum.org>
Sun, 19 Apr 2015 16:34:01 +0000 (12:34 -0400)
committerColin Walters <walters@verbum.org>
Tue, 21 Apr 2015 01:03:23 +0000 (21:03 -0400)
commit45406bf8158bf76e242a8e521429dc67a482facf
tree62a71e9695dc723a107324a4e7d3c3dbea8b278c
parentc58a5c0cb3fe441d61670b613a3513dde6851503
deploy: Drop fsync of modified config files

These fsyncs were added for what turned out to be a fairly bogus
reason; I was hitting read errors from extlinux after upgrades and out
of conservatisim tried adding fsync calls, but the *actual* problem
was that extlinux didn't support 64 bit ext4.  Now that at least for
Project Atomic hosts we're just targeting grub2, we can drop these
fsync calls and rely on `syncfs()` being both faster and catching any
errors.
libglnx
src/libostree/ostree-sysroot-deploy.c